Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.webapp.info.view--actions

This contribution is part of XML component org.nuxeo.ecm.webapp.info.view inside nuxeo-platform-webapp-core-6.0.jar

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action id="infoViewPreview" order="100" type="widget">
          <category>INFO_VIEW_PANEL_LEFT</category>
          <properties>
            <property name="widgetName">infoViewPreview</property>
          </properties>
          <filter-id>notHasNote</filter-id>
          <filter-id>view_preview</filter-id>
          <filter-id>denyInfoViewPreview</filter-id>
        </action>
  • <action id="infoViewNote" order="100" type="widget">
          <category>INFO_VIEW_PANEL_LEFT</category>
          <properties>
            <property name="widgetName">infoViewNote</property>
          </properties>
          <filter-id>hasNote</filter-id>
        </action>
  • <action id="infoViewNoPreview" order="100" type="widget">
          <category>INFO_VIEW_PANEL_LEFT</category>
          <properties>
            <property name="widgetName">infoViewNoPreview</property>
          </properties>
          <filter-id>notHasPreview</filter-id>
        </action>
  • <action id="infoViewTitleContainer" order="100" type="widget">
          <category>INFO_VIEW_PANEL_RIGHT</category>
          <properties>
            <property name="widgetName">infoViewTitleContainer</property>
          </properties>
        </action>
  • <action id="infoViewInfoLayoutContainer" order="200" type="widget">
          <category>INFO_VIEW_PANEL_RIGHT</category>
          <properties>
            <property name="widgetName">infoViewInfoLayoutContainer</property>
          </properties>
        </action>
  • <action id="infoViewActions" order="300" type="widget">
          <category>INFO_VIEW_PANEL_RIGHT</category>
          <properties>
            <property name="widgetName">infoViewActions</property>
          </properties>
        </action>
  • <action icon="/icons/pin.png" id="infoAddToFavoritesAction" label="label.addToFavorites" link="#{favoritesActions.addCurrentDocumentToFavorites()}" order="0">
          <category>INFO_VIEW_ACTIONS</category>
          <filter-id>canAddToFavorites</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/pinned.png" id="infoRemoveFromFavoritesAction" label="label.removeFromFavorites" link="#{favoritesActions.removeCurrentDocumentFromFavorites()}" order="0">
          <category>INFO_VIEW_ACTIONS</category>
          <filter-id>canRemoveFromFavorites</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/contextual_menu/unlocked.png" id="infoDocumentLock" label="command.lock" link="#{lockActions.lockCurrentDocument}" order="10" type="link">
          <category>INFO_VIEW_ACTIONS</category>
          <filter-id>mutable_document</filter-id>
          <filter-id>can_lock</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/contextual_menu/locked.png" id="infoDocumentUnlock" label="command.unlock" link="#{lockActions.unlockCurrentDocument}" order="10" type="link">
          <category>INFO_VIEW_ACTIONS</category>
          <filter-id>mutable_document</filter-id>
          <filter-id>can_unlock</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action accessKey="k" icon="/icons/contextual_menu/share.png" id="infoPermalinkAction" label="label.permalink" order="20" type="fancybox">
          <category>INFO_VIEW_ACTIONS</category>
          <properties>
            <property name="include">/incl/permalink_box.xhtml</property>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/contextual_menu/download.png" id="infoDownloadAction" label="label.document.download" link="#{operationActionBean.doOperation('downloadFilesZip')}" order="30" type="link">
          <category>INFO_VIEW_ACTIONS</category>
          <filter-id>documentHasBlobs</filter-id>
        </action>
  • <action icon="/icons/contextual_menu/subscribe.png" id="infoSubscribesAllDocNotifications" label="label.subscriptions.follow" link="#{subscriptionAction.updateAllSubscriptions}" order="40" type="link">
          <category>INFO_VIEW_ACTIONS</category>
          <filter-id>hasNoSubscriptions</filter-id>
          <filter-id>canSubscribe</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>
  • <action icon="/icons/contextual_menu/unsubscribe.png" id="infoUnsubscribesAllDocNotifications" label="label.subscriptions.unfollow" link="#{subscriptionAction.updateAllSubscriptions}" order="40" type="link">
          <category>INFO_VIEW_ACTIONS</category>
          <filter-id>hasSubscriptions</filter-id>
          <filter-id>canSubscribe</filter-id>
          <properties>
            <property name="ajaxSupport">true</property>
          </properties>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action id="infoViewPreview" order="100" type="widget">
      <category>INFO_VIEW_PANEL_LEFT</category>
      <properties>
        <property name="widgetName">infoViewPreview</property>
      </properties>
      <filter-id>notHasNote</filter-id>
      <filter-id>view_preview</filter-id>
      <filter-id>denyInfoViewPreview</filter-id>
    </action>

    <action id="infoViewNote" order="100" type="widget">
      <category>INFO_VIEW_PANEL_LEFT</category>
      <properties>
        <property name="widgetName">infoViewNote</property>
      </properties>
      <filter-id>hasNote</filter-id>
    </action>

    <action id="infoViewNoPreview" order="100" type="widget">
      <category>INFO_VIEW_PANEL_LEFT</category>
      <properties>
        <property name="widgetName">infoViewNoPreview</property>
      </properties>
      <filter-id>notHasPreview</filter-id>
    </action>

    <action id="infoViewTitleContainer" order="100" type="widget">
      <category>INFO_VIEW_PANEL_RIGHT</category>
      <properties>
        <property name="widgetName">infoViewTitleContainer</property>
      </properties>
    </action>

    <action id="infoViewInfoLayoutContainer" order="200" type="widget">
      <category>INFO_VIEW_PANEL_RIGHT</category>
      <properties>
        <property name="widgetName">infoViewInfoLayoutContainer</property>
      </properties>
    </action>

    <action id="infoViewActions" order="300" type="widget">
      <category>INFO_VIEW_PANEL_RIGHT</category>
      <properties>
        <property name="widgetName">infoViewActions</property>
      </properties>
    </action>

    <action icon="/icons/pin.png" id="infoAddToFavoritesAction" label="label.addToFavorites" link="#{favoritesActions.addCurrentDocumentToFavorites()}" order="0">
      <category>INFO_VIEW_ACTIONS</category>
      <filter-id>canAddToFavorites</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/pinned.png" id="infoRemoveFromFavoritesAction" label="label.removeFromFavorites" link="#{favoritesActions.removeCurrentDocumentFromFavorites()}" order="0">
      <category>INFO_VIEW_ACTIONS</category>
      <filter-id>canRemoveFromFavorites</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/contextual_menu/unlocked.png" id="infoDocumentLock" label="command.lock" link="#{lockActions.lockCurrentDocument}" order="10" type="link">
      <category>INFO_VIEW_ACTIONS</category>
      <filter-id>mutable_document</filter-id>
      <filter-id>can_lock</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/contextual_menu/locked.png" id="infoDocumentUnlock" label="command.unlock" link="#{lockActions.unlockCurrentDocument}" order="10" type="link">
      <category>INFO_VIEW_ACTIONS</category>
      <filter-id>mutable_document</filter-id>
      <filter-id>can_unlock</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action accessKey="k" icon="/icons/contextual_menu/share.png" id="infoPermalinkAction" label="label.permalink" order="20" type="fancybox">
      <category>INFO_VIEW_ACTIONS</category>
      <properties>
        <property name="include">/incl/permalink_box.xhtml</property>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/contextual_menu/download.png" id="infoDownloadAction" label="label.document.download" link="#{operationActionBean.doOperation('downloadFilesZip')}" order="30" type="link">
      <category>INFO_VIEW_ACTIONS</category>
      <filter-id>documentHasBlobs</filter-id>
    </action>

    <action icon="/icons/contextual_menu/subscribe.png" id="infoSubscribesAllDocNotifications" label="label.subscriptions.follow" link="#{subscriptionAction.updateAllSubscriptions}" order="40" type="link">
      <category>INFO_VIEW_ACTIONS</category>
      <filter-id>hasNoSubscriptions</filter-id>
      <filter-id>canSubscribe</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

    <action icon="/icons/contextual_menu/unsubscribe.png" id="infoUnsubscribesAllDocNotifications" label="label.subscriptions.unfollow" link="#{subscriptionAction.updateAllSubscriptions}" order="40" type="link">
      <category>INFO_VIEW_ACTIONS</category>
      <filter-id>hasSubscriptions</filter-id>
      <filter-id>canSubscribe</filter-id>
      <properties>
        <property name="ajaxSupport">true</property>
      </properties>
    </action>

  </extension>